package com.chang.bootplus.vo;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;
import java.util.List;

@Data
@Accessors(chain = true)
public class EvaluateVO {

    @ApiModelProperty("评论id")
    private Long id;

    @ApiModelProperty("商品评价,子评论为回复")
    private String message;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("用户姓名")
    private String username;

    @ApiModelProperty("用户头像")
    private String avatar;

    @ApiModelProperty("评价等级")
    private Integer grade;

    @ApiModelProperty("点赞数")
    private Long lovenum;


    @ApiModelProperty("父级评论id")
    private Long backId;


    @ApiModelProperty("点赞状态")
    private Integer lovestatus;

    @ApiModelProperty("回复者的姓名")
    private String backname;

    @ApiModelProperty("子评论")
    private List<EvaluateVO> childrenlist;

    @ApiModelProperty(value = "上传时间(转换格式后)")
    private LocalDateTime gmtCreate;








}
